﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProgressInImplementation.aspx.cs" Inherits="crm_supporting_ProgressInImplementation" %>

<%@ Register TagPrefix="MembersControl" Namespace="Controls" %>
<%@ Register TagPrefix="PubHead" TagName="header" src="~/pub/crm/include/header.ascx"%>
<PubHead:header ID="header" runat="server"></PubHead:header>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
     <script type="text/javascript" src="/pub/crm/js/calendar_en.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
    <table  class="poptab">
                <tr >
                    <td class="title">
                        <div id="title">
                            <strong>外呼执行进度表</strong></div>
                    </td>
                </tr>
            </table>
            <table border="0" width="90%" >
            <tr >
           <td align="left" style="height: 28px" >
               活动名称：<asp:DropDownList ID="camname" runat="server" Width="334px" OnSelectedIndexChanged="camname_SelectedIndexChanged" AutoPostBack="True">
               </asp:DropDownList>
               渠道名称：<asp:DropDownList ID="chaname" runat="server" Width="148px">
               </asp:DropDownList>
               </td>
             <td align="right" style="height: 28px">
                 
                 </td>
            </tr>
            <tr><td align="left" style="height: 28px">
               外呼日期：<input name="txtCreateDate_start" type="text" onfocus="this.blur()" onkeydown="tab()" id="txtCreateDate_start" runat="server" style="width: 103px" />
                        <img id="calendarImg" alt="选择时间" src="/pub/crm/images/calendar_all.gif" width="25"
                            height="21" style="cursor: hand" onclick="setday(this, document.all.txtCreateDate_start)" />&nbsp; 到 
                        <input name="txtCreateDate_end" type="text" onfocus="this.blur()" onkeydown="tab()" id="txtCreateDate_end" runat="server" style="width: 101px" />
                        <img id="Img1" alt="选择时间" src="/pub/crm/images/calendar_all.gif" width="25" height="21"
                            style="cursor: hand" onclick="setday(this, document.all.txtCreateDate_end)" />
            
            </td>
            <td align="right" style="height: 28px">
                 
                 <asp:Button ID="savebt" runat="server"  CssClass="btn"  Text="查询" OnClick="savebt_Click" />&nbsp;</td>
            </tr>
            <tr style="height:5px"></tr>
            </table>
            
               <asp:Panel ID="plquest" runat="server"  >
 
                <asp:GridView ID="datalist"  CssClass="opertab" runat="server" AllowPaging="True"  EmptyDataText="您所查询的信息不存在"
                    PageSize="50" Width="90%" border="0" CellPadding="3" CellSpacing="1" AutoGenerateColumns="False" 
                     OnPageIndexChanging="datalist_PageIndexChanging" >
                    <HeaderStyle CssClass="title" />
                    <AlternatingRowStyle CssClass="dg_alternating" />
                    <RowStyle CssClass="dg_item" />
                    <Columns>
                       <asp:BoundField DataField="Camname" HeaderText="活动名称" SortExpression ="Camname">
                           <ControlStyle Width="20%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="20%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Chaname" HeaderText="渠道名称" SortExpression ="Chaname">
                           <ControlStyle Width="18%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="18%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Sqmd" HeaderText="授权名单量" SortExpression ="Sqmd">
                           <ControlStyle Width="10%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="10%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Wcwh" HeaderText="已完成外呼" SortExpression ="Wcwh">
                           <ControlStyle Width="10%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="10%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Cgwh" HeaderText="成功外呼" SortExpression ="Cgwh">
                           <ControlStyle Width="9%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="9%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Hots" HeaderText="Hot Leads" SortExpression ="Hots">
                           <ControlStyle Width="11%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="11%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Warms" HeaderText="Warm Leads" SortExpression ="Warms">
                           <ControlStyle Width="11%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="11%" />
                       </asp:BoundField>
                       <asp:BoundField DataField="Colds" HeaderText="Cold Leads" SortExpression ="Colds">
                           <ControlStyle Width="11%" />
                           <HeaderStyle ForeColor="White" />
                           <ItemStyle Width="11%" />
                       </asp:BoundField>

                    
                    </Columns>
                     <PagerTemplate>
                        <table width="100%">
                            <tr>
                                <td style="text-align: right">
                                    共<asp:Label ID="lbrecordcount" runat="server" Text='<%# ((GridView)Container.Parent.Parent).Rows.Count %>' />条记录
                                    第<asp:Label ID="lblPageIndex" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1  %>' />页
                                    共<asp:Label ID="lblPageCount" runat="server" Text='<%# ((GridView)Container.Parent.Parent).PageCount  %>' />页
                                    <asp:LinkButton ID="btnFirst" runat="server" CausesValidation="False" CommandArgument="First"
                                        CommandName="Page" Text="首页" />
                                    <asp:LinkButton ID="btnPrev" runat="server" CausesValidation="False" CommandArgument="Prev"
                                        CommandName="Page" Text="上一页" />
                                    <asp:LinkButton ID="btnNext" runat="server" CausesValidation="False" CommandArgument="Next"
                                        CommandName="Page" Text="下一页" />
                                    <asp:LinkButton ID="btnLast" runat="server" CausesValidation="False" CommandArgument="Last"
                                        CommandName="Page" Text="尾页" />
                                    <asp:TextBox ID="txtNewPageIndex" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1  %>' />
                                    <asp:LinkButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-1"
                                        CommandName="Page" Text="GO" /><!-- here set the CommandArgument of the Go Button to '-1' as the flag -->
                                </td>
                            </tr>
                        </table>
                    </PagerTemplate>
</asp:GridView>
</asp:Panel>


    </div>
    </form>
</body>
</html>